package com.njust.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.njust.domain.po.Product;

/**
 * @version 1.0
 * @Author Imak
 * @Date 2024/11/7 12:37
 * @产品表的持久层
 */
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 分页查询
     * @param product_name
     * @return
     */
    Page<Product> pageQuery(String product_name);

    Product findByProductName(String product_name);
}
